package com.gopay.bis.manager.bank;

import com.gopay.common.domain.bis.BisBankBindCardInfo;

/**
 * 易宝绑卡信息manager
 * 
 * @BankBindCardManager.java
 * @author zhengxue
 * @2015-10-19 下午5:07:26 www.gopay.com.cn Inc.All rights reserved.
 */
public interface BankBindCardManager {

    /**
     * 新增绑卡关系
     * 
     * @param bindCard
     * @return
     */
    public void addBankBindCard(BisBankBindCardInfo bindCard);

    /**
     * 更新绑卡关系
     * 
     * @param bindCard
     */
    public void updateBindCard(BisBankBindCardInfo bindCard);

    /**
     * 根据证件号、卡号查询绑卡关系
     * 
     * @param userId
     * @param cardNo
     * @return
     */
    public BisBankBindCardInfo getBindCard(String userId, String cardNo);
}
